package com.situ.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.situ.crm.common.mapper.BaseMapper;
import com.situ.crm.entity.Student;

public interface StudentMapper extends BaseMapper<Student> {

	List<Student> selectList(@Param("name") String name, @Param("createby") Integer id, @Param("status") String status);

	@Update("update student set status = #{status} where id = #{id}")
	int updateStatus(@Param("id") Integer id, @Param("status") String status);
}
